/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfoexam.entity.CampusinfoTrain;
import com.lczyfz.campusinfo.modules.campusinfoexam.dao.CampusinfoTrainDao;

/**
 * 考证培训管理Service
 *
 * @author yt
 * @version 2017-10-20
 */
@Service
@Transactional(readOnly = true)
public class CampusinfoTrainService extends CrudService<CampusinfoTrainDao, CampusinfoTrain> {

    public CampusinfoTrain get(String id) {
        return super.get(id);
    }

    public List<CampusinfoTrain> findList(CampusinfoTrain campusinfoTrain) {
        return super.findList(campusinfoTrain);
    }

    public Page<CampusinfoTrain> findPage(Page<CampusinfoTrain> page, CampusinfoTrain campusinfoTrain) {
        return super.findPage(page, campusinfoTrain);
    }

    @Transactional(readOnly = false)
    public void save(CampusinfoTrain campusinfoTrain) {
        super.save(campusinfoTrain);
    }

    @Transactional(readOnly = false)
    public void delete(CampusinfoTrain campusinfoTrain) {
        super.delete(campusinfoTrain);
    }

}